import request from "@/utils/request";
// 兑换列表/新人列表
export function list(data) {
  return request("exchange/list", data, "get");
}
// 添加（编辑）兑换/新人
export function add(data) {
  return request("exchange/add", data, "post");
}
export function edit(data) {
  return request("exchange/edit", data, "post");
}
// 获取兑换记录
export function getExchangeLog(data) {
  return request("exchange/getExchangeLog", data, "get");
}
// 获取签到记录
export function getSignLog(data) {
  return request("exchange/getSignLog", data, "get");
}
// 删除
export function del(data) {
  return request("exchange/del", data, "post");
}
